package com.bootdo.payee.service;

import com.bootdo.payee.domain.PayeeAgentDO;
import com.bootdo.payee.domain.PayeeDO;

import java.util.List;
import java.util.Map;

public interface PayeeService {

    List<PayeeAgentDO> findAgent();

    List<PayeeDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(PayeeDO payee);

    PayeeDO get(Long userId);

    int update(PayeeDO payee);

    int editStatus(Long userId, Integer status);

    int editLineUpStatus(Long userId, Integer status);

    List<PayeeAgentDO> queryPayeeAgentList();

    int deviceSave(Long userId);

    int batchEditStatus(Long[] ids);

    int batchEditLineUpStatus(Long[] ids);

}
